Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun BLEDevices(connectionState: ConnectionState, bondedDevices: List<DeviceListEntry>, availableDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel, bluetoothEnabled: Boolean)

Composable that displays a list of Bluetooth Low Energy (BLE) devices and allows scanning. It handles Bluetooth permissions using accompanist-permissions.

Link copied to clipboard
fun ConnectionsNavIcon(modifier: Modifier = Modifier, connectionState: ConnectionState, deviceType: DeviceType?)
Link copied to clipboard
fun ConnectionsSegmentedBar(selectedDeviceType: DeviceType, modifier: Modifier = Modifier, onClickDeviceType: (DeviceType) -> Unit)
Link copied to clipboard
fun CurrentlyConnectedInfo(node: Node, onNavigateToNodeDetails: (Int) -> Unit, onClickDisconnect: () -> Unit, modifier: Modifier = Modifier)

Converts Bluetooth RSSI to a 0-4 bar signal strength level.

Link copied to clipboard
fun DeviceListItem(connected: Boolean, device: DeviceListEntry, onSelect: () -> Unit, modifier: Modifier = Modifier)
Link copied to clipboard
fun EmptyStateContent(imageVector: ImageVector? = null, text: String, actionButton: @Composable () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun NetworkDevices(connectionState: ConnectionState, discoveredNetworkDevices: List<DeviceListEntry>, recentNetworkDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel)
Link copied to clipboard
fun UsbDevices(connectionState: ConnectionState, usbDevices: List<DeviceListEntry>, selectedDevice: String, scanModel: BTScanModel)